#define  _CRT_SECURE_NO_WARNINGS

#include "stack.h"
#include "priority_queue.h"

int main()
{
	yjz::priority_queue<int> pq;
	pq.push(1);
	pq.push(6);
	pq.push(3);
	pq.push(2);
	pq.push(8);
	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}
	cout << endl;
	return 0;
}

//#include <iostream>
//using namespace std;
//
//#include "priority_queue.h"
//
//int main()
//{
//	Less<int> LessFunc;
//	Greater<int> GreaterFunc;
//	cout << LessFunc(1, 2) << endl;
//	cout << GreaterFunc(1, 2) << endl;
//	return 0;
//}

